import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class Kodune extends Applet implements ActionListener{ int s=1; int y=100; int a=100; TextField tf=new TextField(); Button nupp=new Button(" OK "); public Kodune(){ add(tf); add(nupp); nupp.addActionListener(this); } public void paint(Graphics g){ for(int i=0; i